import request from './request'

interface UserMsg {
    username:string
    password:string
}

//检测token请求
export const verifyToken = () => request({method:'get',url:'/verifyToken'})
//登录请求
export const login = (data:UserMsg) => request({method:'post',data,url:'/login'})